/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.model;

import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author admin
 */
public class TestMajalah {
    public static void main(String[] args) {
        Majalah mjl = new Majalah();
        try {
            mjl.setIdKoleksi("1234567891");
        } catch (Exception ex) {
            Logger.getLogger(TestMajalah.class.getName()).log(Level.SEVERE, null, ex);
        }
     mjl.setJudul("Sadhar Magazine");
     System.out.println("Judul Majalah = "+mjl.getJudul());
     System.out.println("Id Koleksi = "+mjl.getIdKoleksi());
     System.out.println("Terlambat = "+mjl.isTerlambat(15));
     System.out.println("Denda = "+mjl.hitungDenda(20));
    }
}
